package com.quanyan.assets.mapper;

import com.quanyan.assets.entity.TbUserShellAccumulateHistory;
import com.quanyan.assets.entity.TbUserShellAccumulateHistoryExample;
import java.util.List;

import com.quanyan.assets.request.ReqUnfreeze;
import com.quanyan.assets.request.ReqUserAccumulateHistory;
import com.quanyan.assets.response.RespUserAccumulateHistory;
import org.apache.ibatis.annotations.Param;

public interface ETbUserShellAccumulateHistoryMapper {

    List<RespUserAccumulateHistory> getUserShellAccumulateHistory(ReqUserAccumulateHistory reqUserAccumulateHistory);

    int countUseToday(@Param("uid") Integer uid,@Param("systemCode") String systemCode,@Param("businessCode") String businessCode);

    void insertAccumulateHistory(TbUserShellAccumulateHistory tbUserShellAccumulateHistory);

    int updateFreezeStatus(ReqUnfreeze reqUnfreeze);
}